﻿' LibWowArmory
' by Ronald M. Clifford (roncli@roncli.com)
'
' This source code is released under the GNU Library General Public License (LGPL) Version 2.1.

Imports System.Xml.Serialization

Namespace roncliProductions.LibWowArmory.ItemSearchSchema

    Public Class item_filter

        Private strAreaID As String
        Private strAreaName As String
        Private strCreatureID As String
        Private strCreatureName As String
        Private strDifficulty As String
        Private strDropRate As String
        Private strName As String
        Private strValue As String

        <XmlAttribute()> Public Property areaId() As String
            Get
                Return strAreaID
            End Get
            Set(ByVal value As String)
                strAreaID = value
            End Set
        End Property

        <XmlAttribute()> Public Property areaName() As String
            Get
                Return strAreaName
            End Get
            Set(ByVal value As String)
                strAreaName = value
            End Set
        End Property

        <XmlAttribute()> Public Property creatureId() As String
            Get
                Return strCreatureID
            End Get
            Set(ByVal value As String)
                strCreatureID = value
            End Set
        End Property

        <XmlAttribute()> Public Property creatureName() As String
            Get
                Return strCreatureName
            End Get
            Set(ByVal value As String)
                strCreatureName = value
            End Set
        End Property

        <XmlAttribute()> Public Property difficulty() As String
            Get
                Return strDifficulty
            End Get
            Set(ByVal value As String)
                strDifficulty = value
            End Set
        End Property

        <XmlAttribute()> Public Property dropRate() As String
            Get
                Return strDropRate
            End Get
            Set(ByVal value As String)
                strDropRate = value
            End Set
        End Property

        <XmlAttribute()> Public Property name() As String
            Get
                Return strName
            End Get
            Set(ByVal value As String)
                strName = value
            End Set
        End Property

        <XmlAttribute()> Public Property value() As String
            Get
                Return strValue
            End Get
            Set(ByVal value As String)
                strValue = value
            End Set
        End Property

    End Class

End Namespace
